﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;

namespace Wicresoft.Shell.Package.AppExp
{
    public class UmcDesignSurfaceManager : DesignSurfaceManager
    {
        protected override DesignSurface CreateDesignSurfaceCore(IServiceProvider parentProvider)
        {
            return new UmcDesignSurface(parentProvider);
        }

        public UmcDesignSurfaceManager(IServiceProvider parentProvider)
            : base(parentProvider)
        { 
        }

        public void AddService(Type type, object serviceInstance)
        {
            base.ServiceContainer.AddService(type, serviceInstance);
        }
    }
}
